Repository navigation
docs: the GoogleTest adapter under an mcpp before 2026.11.8.1 - #2
Merged
Merged
Conversation
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Sunrisepeak
pushed a commit
that referenced
this pull request
Nov 30, 2026
…s variables stay out of what a case starts (#32) * doctest: distinct identifiers, xfail and xpass, timeout, the place of an exception (#29) Of two cases with one name the later is <suite>/<name>#2. should_fail and expected_failures(n) are listed expect: fail and end xfail or xpass; may_fail stays pass. doctest::timeout is listed as the case's timeout. An exception or a crash fails at the case's place. The conformance suite holds an implementation below level 3 that expresses an expected failure to its xfail. 0.11.4. * doctest, gtest: the protocol's variables stay out of what a case starts (P2.2, #29) The adapters read the handshake once, then remove its variables from the C library's environment before any case runs, so a test program a case starts does not append to its parent's report. mcpplibs.os states no change to a program's own environment (mcpplibs/os#29), so the adapters call the host's C library. The doctest adapter's own test checks a case and a program it starts under mcpp test; CI runs it. --------- Co-authored-by: ZheFeng7110 <194236111+ZheFeng7110@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An mcpp before 2026.11.8.1 links compat.gtest's gtest_main.cc beside the adapter's main when compat.gtest is reached only through the adapter; naming compat.gtest as a dev-dependency too keeps it out (mcpp 2026.11.8.1 fixes the link). The entry is named by the adapter's package,
mcpplibs.mtest.gtest/main.Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com